/**
 * @author hanzc
 * @date 2021-03-05
 */
import http from './http';
import constant from './constant';

// 查询dashboard数据, 包括card和chart
export const queryR1Card2Value = params =>
    http.post(constant.SPECIAL_CLASS.QUERY_R1_CARD2_VALUE, params);

export const queryR1Card4Value = params =>
    http.post(constant.SPECIAL_CLASS.QUERY_R1_CARD4_VALUE, params);

export const queryR1Card5Value = params =>
    http.post(constant.SPECIAL_CLASS.QUERY_R1_CARD5_VALUE, params);

export const queryR4Line = params =>
    http.post(constant.SPECIAL_CLASS.QUERY_R4_LINE, params);
